package blog.com.mw.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import blog.com.mw.pojo.po.UserPO;

public interface UserDao {

	public List<UserPO> getAllUser(@Param("keyword") String keyword);
	
	public UserPO getUserById(Long id);
	
	public UserPO getUserByAcount(String acount);
	
	public UserPO login(UserPO user);
	
	public int addUser(UserPO user);
	
	public int updateUser(UserPO user);
	
	public int resetPwd(UserPO user);
	
	public int delUser(List<Integer> ids);
}
